package top.lhj.security.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @Author LiHaoJie
 * @Create 2024/2/3 10:38
 * @Version 1.0
 */
@Accessors(chain = true)
@EqualsAndHashCode
@ToString
@Data
@TableName(value = "user")
public class UserEntity {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    private String username;
    
    private String password;
    
    private Integer enabled;
    
}

